home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / standard / strwidth.z / strwidth
Encoding:
Text File  |  1998-10-20  |  2.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ssssttttrrrrwwwwiiiiddddtttthhhh((((3333GGGG))))                                                      ssssttttrrrrwwwwiiiiddddtttthhhh((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ssssttttrrrrwwwwiiiiddddtttthhhh,,,, llllssssttttrrrrwwwwiiiiddddtttthhhh - returns the width of the specified text string
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      lllloooonnnngggg ssssttttrrrrwwwwiiiiddddtttthhhh((((ssssttttrrrr))))
  13.      SSSSttttrrrriiiinnnngggg ssssttttrrrr;;;;
  14.  
  15.      lllloooonnnngggg llllssssttttrrrrwwwwiiiiddddtttthhhh((((ttttyyyyppppeeee,,,,ssssttttrrrr))))
  16.      lllloooonnnngggg ttttyyyyppppeeee;;;;
  17.      vvvvooooiiiidddd ****ssssttttrrrr;;;;
  18.  
  19. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  20.      _t_y_p_e      expects the type of this string.  See the man page for cccchhhhaaaarrrrssssttttrrrr
  21.                for a description of the type argument.
  22.  
  23.      _s_t_r       expects the pointer to the string to be measured.
  24.  
  25. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.      ssssttttrrrrwwwwiiiiddddtttthhhh and llllssssttttrrrrwwwwiiiiddddtttthhhh return the width of a text string in pixels, using
  27.      the character spacing parameters of the current raster font.  These
  28.      functions are useful when doing a simple mapping from screen space to
  29.      world space.
  30.  
  31.      Undefined characters have zero width.
  32.  
  33. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  34.      charstr, deflfont, defrasterfont, getlwidth, lcharstr, mapw, mapw2
  35.  
  36. NNNNOOOOTTTTEEEE
  37.      These routines are available only in immediate mode.
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.